
const { createProxyMiddleware } = require('http-proxy-middleware');


const wyyUrl = 'http://47.111.241.74:3050/';

module.exports = function(app) {
    app.use(
        '/wyy/',
        createProxyMiddleware({
            target: wyyUrl,
            changeOrigin: true,
            pathRewrite:{
                '^/wyy' : ''
            }
        })
    );
};
